package com.itheima.health.dao;

import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface OrderDao {
    Integer countByOrderDateRange(@Param("startDate") Date startDate,@Param("endDate") Date endDate, String status);

    List<Map> countByHotSetmeal(Integer topN);
}
